package com.sn.springboot_netty.model;

import com.alibaba.fastjson.JSONObject;

public class Test {

    public static void main(String[] args) {
        User user = new User();
        user.setId(1);
        user.setName("2224");

        System.out.println(JSONObject.toJSONString(user));
    }

}
